<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .box {
            width: 247px;
            height: 416px;
            margin: 50px auto;
            overflow: hidden;
            box-shadow: 0 0 5px rgba(0, 0, 0, 1);
            background-size: cover;
            background-position: center;
            animation: loops 10s infinite;
        }
        
        @keyframes loops {
            0% {
                background: url('./images/2.png') no-repeat;
            }
            25% {
                background: url('./images/3.png') no-repeat;
            }
            50% {
                background: url('./images/4.png') no-repeat;
            }
            75% {
                background: url('./images/5.png') no-repeat;
            }
            100% {
                background: url('./images/6.png') no-repeat;
            }
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>